%ECHO OFF%
cd /d "E:\Code\Diploma\ssu2015DeviceTest\src"
for /R %%f in (*.erl) do xcopy %%f /D /Y "E:\Code\Diploma\ssu2015DeviceTest\ebin"

cd /d "E:\Code\Diploma\ssu2015DeviceTest\include"
for /R %%f in (*.hrl) do xcopy %%f /D /Y "E:\Code\Diploma\ssu2015DeviceTest\ebin"